package com.songlanyun.modules.celebrity.model;

import com.songlanyun.common.drive.ValueObject;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 平台宣传素材审核
 * 
 * @author zx
 * @date 2021年3月1日 11:44:06
 */
@Data
public class UserApplyNetRedCheckDTO implements ValueObject {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@NotNull(message = "主键不能为空")
	private Long id;
	/**
	 * 状态 0=待审核 1=通过 2=不通过
	 */
	@Range(min = 1,max = 2,message = "状态 0=待审核 1=通过 2=不通过")
	private Integer state;

	@Length(min = 0,max = 50,message = "理由最多50个汉字")
	private String reason;

}
